package com.it.Demo1;

public class Note {
    public char color;
    public int cpu_tpye;

    public Note() {
    }

    public Note(char color, int cputpye) {
        this.color = color;
        this.cpu_tpye = cputpye;
    }

    public void show(){
        System.out.println("笔记本颜色:"+color+"\n"+"笔记本CPU:"+cpu_tpye);
    }

}
